package thread;


import org.junit.Test;

public class SUMsum {
   @Test
    public  void   sum(){
       Long []a=new Long[50];
       a[0]= 0L;
       a[1]=1L;
       for (int i=2;i<50;i++){
           a[i]=a[i-1]+a[i-2];
           System.out.print(a[i]+" ");

           if (i%5==0){
               System.out.println();
           }
       }

   }

}
